<?php

use Illuminate\Database\Seeder;

class CommentTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('comment') -> insert([
            [
                'comment' => 'asdasdadqw',
                'article_id' => rand(1,3)
            ],[
                'comment' => 'aasdqweadqw',
                'article_id' => rand(1,3)
            ],[
                'comment' => 'aqweqwewdqw',
                'article_id' => rand(1,3)
            ],[
                'comment' => 'asdkjklphqw',
                'article_id' => rand(1,3)
            ],
        ]);
    }
}
